package com.springboot.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.springboot.domain.BtFile;
import com.springboot.domain.BtUser;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class DemandSignedDTO {

    private String id;
    private String bankId;
    private  String bankName;
    private String name;
    private String type;
    private String projectSize;
    private String description;
    private String delivery;
    private String money;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date deadline;
    private String language;
    private String tecQualification;
    private String busQualification;
    private String specReq;
    private String belongSystem;
    private String belongProject;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    private String paymentWay;
    private String priority;
    private String difficulty;
    private String state;                   //需求的状态  待审核
    private Integer platShown;              //平台是否可见     0不可见/1可见
    private Integer outsourcerShown;        //外包商是否可见   0部分/1全部
    private List<BtFile> files;
    private List<TeamInfoDTO> members;      //与需求签约的所有BtTeam成员信息
    private Integer views;
}
